import axios from '@/axios.js'

/**
 * 添加留言
 * @param data
 * @returns {*}
 */
export const addMessage = (data) => {
    return axios.post('/message-wall/add', data)
}

/**
 * 获取留言列表
 * @param data
 * @returns {*}
 */
export const getMessageList = (data) => {
    return axios.post('/message-wall/list', data)
}